<?php 
/*ini_set('error_reporting', E_ALL);
ini_set('display_errors', 'On');
ini_set('display_startup_errors', 'On');
*/		
// Define path to application directory
defined('LIB_PATH')
    || define('LIB_PATH', realpath(dirname(__FILE__) . '/libraries'));

// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
    LIB_PATH, /*PROPEL_LIB_PATH,*/
    get_include_path(),
)));

ob_start();

	require_once('Bootstrap.php');
	
	$bootstrap = new Bootstrap();
	
	$Portal = new Portal();
	//$Portal->testPropel();
	$Portal->run();

ob_flush();

?>